IK Set Blend Mode


IK Set Blend Mode Mode

Description

The blend mode will determine how an image will be pasted onto another image, or onto the screen. The screen should be seen as a render target without an alpha channel. Some blend modes are only available to normal images. See list below for more information.

A lit of available blend modes:
Constant nameConstantT(arget)/N(ormal)Description (T(op)/B(ottom)/a(lpha))
BLEND_HIDDEN0T/NWill not draw the image.
BLEND_FASTNORMAL1T/NNormal blend mode (T*a+B(1-a)) (Small inaccuracy for normal images, render targets add the alpha channel)
BLEND_NORMAL2T/NNormal blend mode (T*a+B(1-a)) (Accurate and alpha blending for normal images, render targets = BLEND_FASTNORMAL)
BLEND_DISSOLVE3NDissolves an image.
BLEND_MULTIPLY4T/NMultiplies the components (T*B).
BLEND_DIVIDE5NDivides the components (T/B).
BLEND_SCREEN6T/NUses a screen blend mode (B+T(1-B)).
BLEND_OVERLAY7NUses an overlay blend mode (B*(B+2T(1-B)).
BLEND_DODGE8NUses a dodge blend mode (B/(1-T)).
BLEND_BURN9NUses a burn blend mode (1-(1-B)/T).
BLEND_HARDLIGHT10NUses hard light blend mode (Conditional).
BLEND_SOFTLIGHT11NUses soft light blend mode (Conditional).
BLEND_GRAINEXTRACT12NUses grain extract blend mode (B-T+0.5).
BLEND_GRAINMERGE13NUses grain merge blend mode (B+T-0.5).
BLEND_DIFFERENCE14NUses difference blend mode (abs(T-B)).
BLEND_ADDITION15T/NUses addition blend mode (B+T, capped).
BLEND_SUBTRACT16T/NUses subtract blend mode (B-T, capped).
BLEND_DARKENONLY17T/NUses darken only blend mode (min(B, T)).
BLEND_LIGHTENONLY18T/NUses lighten only blend mode (max(B, T)).
BLEND_FORCE19T/NForces the top color including the alpha (T).

Parameters

ModeIntegerThe blend mode used for pasting images.


Index